<template>
  <div class="li w100 j-sb pointer" :style="type == '2' ? 'margin-bottom:40px' : ''">
    <div class="left flex-row">
      <!-- <div class="dot" v-if="showDot"></div> -->
      <div class="title" @click="handNes">{{title}}</div>
    </div>
    <div class="right">{{updateTime}}</div>
  </div>
</template>
<script>
export default {
  props: {
    showDot: {
      type: Boolean,
      default: true,
    },
    type: [String],
    title: [String],
    updateTime: [String],
  },
  methods: {
    handNes() {
      this.$emit('handNes')
    },
  },
}
</script>
<style lang="less" scoped>
.li {
  margin-bottom: 15px;
  &:last-child {
    margin-bottom: 0 !important;
  }
  &:hover .title {
    text-decoration: underline;
  }
  .title {
    font-size: 15px;
    color: #303030;
    letter-spacing: 0;
    font-weight: bolder;
    margin-bottom: 20px;
  }
  .dot {
    background: #0050a5;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 12px;
  }
  .right {
    font-size: 13px;
    color: #999999;
    letter-spacing: 0;
  }
}
</style>
